package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @Auther: xjw
 * @Date: 2019/2/21 17:14
 * @Description:
 */
@TableName(value = "s_roles_menus")
public class RoleMenu {

    @JSONField(name = "Id")
    @TableId(value = "Id",type = IdType.AUTO)
    private Long id;

    @JSONField(name = "RoleId")
    @TableField(value = "RoleId")
    private String roleId;

    @JSONField(name = "MenuId")
    @TableField(value = "MenuId")
    private String menuId;

    /**
     * @Author xjw
     * @Date 2019/2/24 12:05
     * @Description :  查看的时候是否回显
     **/
    @JSONField(name = "TreeShow")
    @TableField(value = "TreeShow")
    private int treeShow;


    public int getTreeShow() {
        return treeShow;
    }

    public void setTreeShow(int treeShow) {
        this.treeShow = treeShow;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }
}
